//
//  AuctionDetailModel.h
//  MyNewProject
//
//  Created by 王春辉 on 1/16/20.
//  Copyright © 2020 sun. All rights reserved.
//

#import "WJBaseModel.h"

NS_ASSUME_NONNULL_BEGIN

#pragma mark -- mark 轮播图
@interface AuctionDetailDataBannerModel : NSObject
@property (nonatomic, copy) NSString *ID;
@property (nonatomic, copy) NSString *imgurl;
@end

#pragma mark -- mark 拍卖数据info model
@interface AuctionDetailDataInfoModel : NSObject
@property (nonatomic, copy) NSString *ID;
@property (nonatomic, copy) NSString *title;
@property (nonatomic, copy) NSString *goods_id;
@property (nonatomic, copy) NSString *begin_time;
@property (nonatomic, copy) NSString *end_time;
@property (nonatomic, copy) NSString *begin_price;
@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *bail;
@property (nonatomic, copy) NSString *status;
@property (nonatomic, copy) NSString *time;
@property (nonatomic, copy) NSString *range;
@property (nonatomic, copy) NSString *lost_begin_time;
@property (nonatomic, copy) NSString *lost_end_time;
@property (nonatomic, copy) NSString *img;
@property (nonatomic, copy) NSString *refer_price;
@property (nonatomic, copy) NSString *contents;
@property (nonatomic, copy) NSString *supplier;
@end


#pragma mark -- mark 拍卖出价日志
@interface AuctionDetailDataLogModel : NSObject
@property (nonatomic, copy) NSString *ID;
@property (nonatomic, copy) NSString *uid;
@property (nonatomic, copy) NSString *price;
@property (nonatomic, copy) NSString *nickname;
@property (nonatomic, copy) NSString *head_url;
@end

#pragma mark -- mark 拍卖数据
@interface AuctionDetailDataModel : NSObject

@property (nonatomic, strong) AuctionDetailDataLogModel *sell_log;
@property (nonatomic, assign) int sell_count;
@property (nonatomic, strong) AuctionDetailDataInfoModel *sell_info;
@property (nonatomic, strong) NSArray <AuctionDetailDataBannerModel *>* lunbo;
@end


#pragma mark -- mark 拍卖数据model
@interface AuctionDetailModel : WJBaseModel
@property (nonatomic, strong) AuctionDetailDataModel *data;
@end

NS_ASSUME_NONNULL_END
/*
{
    "status": "ok",
    "data": {
        "sell_log": {
            "id":"15415",
            "uid":"303",
            "price":"1924",
            "nickname":"大闸蟹",
            "head_url":"http://api.yupinyouxuan.com/upload/2019_05_27/1ab145f387786c221e32c7e0179fbe1f.jpg"
        },
        "sell_count": 0,
        "sell_info": {
            "id": "1",
            "title": "翡翠A货-“百财”",
            "goods_id": "383",
            "begin_time": "2019-12-30 17:32:18",
            "end_time": "2019-12-31 17:32:20",
            "begin_price": "0",
            "new_price": "0",
            "bail": "594",
            "status": "5",
            "time": null,
            "range": "100",
            "lost_begin_time": 0,
            "lost_end_time": 0,
            "img": "http://apiadmin.yupinyouxuan.com/upload/goods/2019_11_19/f4c083f5ad8b3feb4a51384ab80ed0b4.jpg",
            "refer_price": "1188",
            "contents": "<p><img class=\"fr-dib fr-draggable\" src=\"http://apiadmin.yupinyouxuan.com/upload/news/2019_11_19/53a0e4a6f9590f649b3b7476799255d8.jpg\" style=\"width: 100%;\" data-action=\"zoom\"><img class=\"fr-dib fr-draggable\" src=\"http://apiadmin.yupinyouxuan.com/upload/news/2019_11_19/882ec3f77c575d4d557b0aaf1ec0d556.jpg\" style=\"width: 100%;\" data-action=\"zoom\"><img class=\"fr-dib fr-draggable\" src=\"http://apiadmin.yupinyouxuan.com/upload/news/2019_11_19/c4f5811293f6522d7c74fbb236c5e328.jpg\" style=\"width: 100%;\" data-action=\"zoom\"><img class=\"fr-dib fr-draggable\" src=\"http://apiadmin.yupinyouxuan.com/upload/news/2019_11_19/91d3b353666b1cc026eb815519dc5c01.jpg\" style=\"width: 100%;\" data-action=\"zoom\"><img class=\"fr-dib fr-draggable\" src=\"http://apiadmin.yupinyouxuan.com/upload/news/2019_11_19/7dfbaa54426956d0da44f38f194970c0.jpg\" style=\"width: 100%;\" data-action=\"zoom\"></p>"
        },
        "lunbo": [
            {
                "id": "549",
                "imgurl": "http://apiadmin.yupinyouxuan.com/upload/shop_lunbotu/2019_11_19/23a52dd4e5d0706bc9b4e264d6a44a65.jpg"
            },
            {
                "id": "553",
                "imgurl": "http://apiadmin.yupinyouxuan.com/upload/shop_lunbotu/2019_11_19/27ebf5580a1aa3829c4e9185cb3e5fed.jpg"
            },
            {
                "id": "554",
                "imgurl": "http://apiadmin.yupinyouxuan.com/upload/shop_lunbotu/2019_11_19/17eb163c691ec7945f6116c149064f99.jpg"
            }
        ]
    }
}
*/
